SftTree/OCX 7.0

SftTreeItems.SelectRange Method

Softel vdm, Inc.

Selects or deselects a range of items.

Syntax       

VB.NET

object.SelectRange(ByVal IndexStart As Integer, ByVal IndexEnd As Integer, ByVal Status As Boolean)

VB

object.SelectRange(ByVal IndexStart As Long, ByVal IndexEnd As Long, ByVal Status As Boolean)

C#.NET

void object.SelectRange(int IndexStart, int IndexEnd, bool Status);

VC++

HRESULT object->SelectRange(long IndexStart, long IndexEnd, VARIANT_BOOL Status);

C

HRESULT object->raw_SelectRange(long IndexStart, long IndexEnd, VARIANT_BOOL Status);

Delphi

procedure object.SelectRange(IndexStart : Integer, IndexEnd : Integer, Status : WordBool);

object

A SftTreeItems object.

IndexStart

The zero-based index of the first item to be de-/selected.

IndexEnd

The zero-based index of the last item to be de-/selected.  IndexEnd must be greater or equal to IndexStart.

Status

Set to True to select the items, False to deselect them.

Comments

The SelectRange method selects or deselects a range of items.

The SelectRange method can only be used if the Items.MultiSelect property is set to selectSftTreeMulti, indicating that multiple selection is supported.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com